import request from "../index.js";
// 退出登录
export const logoutApi = () => {
	return request({
		url: '/index/logout',
		method: 'post',
	})
}
// 修改登录密码
export const modifyPasswdApi = (data) => {
	return request({
		url: '/index/modify_passwd',
		method: 'post',
		data
	})
}